package light.mvc.service.sys;

import java.util.List;

import light.mvc.pageModel.base.SessionInfo;
import light.mvc.pageModel.base.Tree;
import light.mvc.pageModel.sys.ResourceVO;

public interface ResourceServiceI {

	public List<ResourceVO> treeGrid();

	public void add(ResourceVO resource);

	public void delete(Long id);

	public void edit(ResourceVO resource);

	public ResourceVO get(Long id);

	public List<Tree> tree(SessionInfo sessionInfo);

	public List<Tree> listAllTree(boolean flag);

	public List<String> listAllResource();

}
